#encoding=utf8
'''
Created on 2012-10-9

@author: Administrator
'''
from pub import Func
from pub.Config import Config
class Release(object):
    '''
    反馈信息模型
    '''
    TABLE_NAME="sq_release"
    PRIMARY_KEY="Id"
    RELEASEVERSION="ReleaseVersion"
    FORCEUPDATE="ForceUpdate"
    RELEASELOG = "ReleaseLog"
    RELEASETIME = "ReleaseTime"
    CREATED = "Created"
    DOWNLOADURL = "DownloadUrl"
    def __init__(self):
        '''
        Constructor
        '''
        self.__Id = Config.I_SYS_ZERO
        self.__ReleaseVersion = Config.S_SYS_NONE
        self.__ForceUpdate = Config.I_SYS_ZERO
        self.__ReleaseLog = Config.S_SYS_NONE
        self.__ReleaseTime = Config.I_SYS_ZERO
        self.__Created = Func.getNow()
        self.__DownloadUrl = Config.S_SYS_NONE

    def get_download_url(self):
        return self.__DownloadUrl


    def set_download_url(self, value):
        self.__DownloadUrl = value

    def get_id(self):
        return self.__Id


    def get_release_version(self):
        return self.__ReleaseVersion


    def get_force_update(self):
        return self.__ForceUpdate


    def get_release_log(self):
        return self.__ReleaseLog


    def get_releasetime(self):
        return self.__ReleaseTime


    def get_created(self):
        return self.__Created


    def set_id(self, value):
        self.__Id = value


    def set_release_version(self, value):
        self.__ReleaseVersion = value


    def set_force_update(self, value):
        self.__ForceUpdate = value


    def set_release_log(self, value):
        self.__ReleaseLog = value


    def set_releasetime(self, value):
        self.__ReleaseTime = value


    def set_created(self, value):
        self.__Created = value

